@extends('backstage.layout.master')
@section('title', '添加工艺')
@section('style')
        <!-- page specific plugin styles -->

<link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.custom.min.css"/>
<link rel="stylesheet" href="assets/css/chosen.css"/>
<link rel="stylesheet" href="assets/css/datepicker.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-timepicker.css"/>
<link rel="stylesheet" href="assets/css/daterangepicker.css"/>
<link rel="stylesheet" href="assets/css/colorpicker.css"/>

<!-- fonts -->

@stop
@section('content')
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try {
                ace.settings.check('breadcrumbs', 'fixed')
            } catch (e) {
            }
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a target="_blank" href="backstage/home">主页</a>
            </li>

            <li class="active">
                <a target="_blank" href="/backstage/product-temp/product-temp-list">产品模板</a>
            </li>
            <li>
                添加工艺
            </li>
        </ul><!-- .breadcrumb -->
    </div>

    <div class="page-content">
        <div class="row">
            <div class="col-xs-12">
                <!-- PAGE CONTENT BEGINS -->
                <div class="page-header">
                    <h1>
                        产品模板
                        <small>
                            <i class="icon-double-angle-right"></i>
                            添加工艺
                        </small>
                        <span class="pull-right">
                            <button class="btn btn-primary" onclick="javascript:window.location.href='{{asset('')}}backstage/product-temp/craftsmanship-list?custom_zone_id={{empty($_GET['custom_zone_id'])?'':$_GET['custom_zone_id']}}&product_temp_id={{empty($_GET['product_temp_id'])?'':$_GET['product_temp_id']}}&colour_id={{empty($_GET['colour_id'])?0:$_GET['colour_id']}}';">返回工艺列表</button>
                         </span>
                    </h1>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->

                        <form class="form-horizontal" role="form" action="" method="post" enctype="multipart/form-data">
                            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                            <div class="form-group {{$errors->first('temp_custom_zone_id')!=""?'has-error':''}}">
                                <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 设计区域编号 </label>
                                <div class="col-sm-4">
                                    <input type="text" name="temp_custom_zone_id" class="width-100" readonly value={{empty($_GET['custom_zone_id'])?'':$_GET['custom_zone_id']}}>
                                </div>
                                <div class="col-sm-5">
                                    <div class="help-block col-xs-12 col-sm-reset inline"> {{$errors->first('temp_custom_zone_id')}}</div>
                                </div>
                            </div>
                            <div class="form-group {{$errors->first('craftsmanship_type')!=""?'has-error':''}}">
                                <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 工艺选择 </label>
                                <div class="col-sm-4">
                                    <select name="craftsmanship_type" class="form-control" id="form-field-select-1">
                                       <option value=1>打印</option>
                                        <option value=2>绣花</option>
                                    </select>
                                </div>
                                <div class="col-sm-5">
                                    <div class="help-block col-xs-12 col-sm-reset inline"> {{$errors->first('craftsmanship_type')}}</div>
                                </div>
                            </div>
                            <div class="clearfix form-actions">
                                <div class="col-md-offset-3 col-md-9">
                                    <button class="btn btn-info" type="submit">
                                        <i class="icon-ok bigger-110"></i>
                                        保存
                                    </button>

                                    &nbsp; &nbsp; &nbsp;
                                    <button class="btn" type="reset">
                                        <i class="icon-undo bigger-110"></i>
                                        重置
                                    </button>
                                </div>
                            </div>
                        </form>


                    </div><!-- /.col -->
                </div>
                <!-- PAGE CONTENT ENDS -->
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
@stop
@section('script')

@stop